package com.plusfoursix.game;

import rokon.Sprite;

abstract public class GameObject {
	enum State { ALIVE, DEAD };
	State state = State.ALIVE;
	int speed;
	
	Sprite sprite;
	
	public int getSpeed() {
		return speed;
	}
	
	abstract public int getGraphic();

	abstract public void logic();
	
	public void setSprite(Sprite sprite) {
		this.sprite = sprite;
		
	}
	
	public Sprite getSprite() {
		return sprite;
		
	}

	
}
